package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserDao {
    public List<User> selectAll() throws Exception;

    public User selectOne(User user) throws Exception;

    public void insert(User user) throws Exception;

    public void update(User user) throws Exception;

    public void delete(Integer id) throws Exception;
}
